package com.belf.console.domain;

import com.belf.common.annotation.Excel;
import com.belf.common.core.domain.BaseEntity;
import lombok.EqualsAndHashCode;

/**
 * CDC配置对象 data_cdc_conf
 * 
 * @author belf
 * @date 2024-06-20
 */
@EqualsAndHashCode(callSuper = true)
public class DataCdcConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 连接器 */
    @Excel(name = "连接器")
    private String connectorClass;

    /** 刷新时间 */
    @Excel(name = "刷新时间")
    private String flushInterval;

    /** 主题*/
    @Excel(name = "主题 ")
    private String topic;

    /** 服务ID */
    @Excel(name = "服务ID")
    private String serverId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String serverName;

    /** 表集合 */
    private String tableList;

    /** 数据库集合 */
    private String databaseList;

    /** 快照模式 */
    private String snapshotMode;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public DataCdcConf() {
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setConnectorClass(String connectorClass)
    {
        this.connectorClass = connectorClass;
    }

    public String getConnectorClass()
    {
        return connectorClass;
    }
    public void setFlushInterval(String flushInterval)
    {
        this.flushInterval = flushInterval;
    }

    public String getFlushInterval()
    {
        return flushInterval;
    }
    public void setTopic(String topic)
    {
        this.topic = topic;
    }

    public String getTopic()
    {
        return topic;
    }
    public void setServerId(String serverId)
    {
        this.serverId = serverId;
    }

    public String getServerId()
    {
        return serverId;
    }
    public void setServerName(String serverName)
    {
        this.serverName = serverName;
    }

    public String getServerName()
    {
        return serverName;
    }
    public void setTableList(String tableList)
    {
        this.tableList = tableList;
    }

    public void setDatabaseList(String databaseList) {
        this.databaseList = databaseList;
    }

    public void setSnapshotMode(String snapshotMode) {
        this.snapshotMode = snapshotMode;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
       return this.status = status;
    }

    public String getTableList() {
        return tableList;
    }

    public String getDatabaseList() {
        return databaseList;
    }

    public String getSnapshotMode() {
        return snapshotMode;
    }
}
